function EnterBossTalk(parent, monster, postFunc)
    if parent and monster and #monster.talk>=2 then
        local shade = AddShade(parent);
        
        local scene = nil;
        local begin = os.clock();
        local function _onUpdate()
            if (os.clock() - begin)*1000>=EXCEL.const["bossTalkTime"] then
                parent:removeChild(shade);
                g_Data.scene.data.remove[scene] = true;
                if postFunc then
                    postFunc();
                end
            end
        end
        scene = LoadJson("talk.json",_onUpdate);
        scene:setPosition(cc.p(0, 0));
        parent:addChild(scene);
        
        local who = scene.layer:getChildByName("who");
        local content = scene.layer:getChildByName("content");
        local left = scene.layer:getChildByName("left");
        local right = scene.layer:getChildByName("right");

        who:setString(GetUtf8(monster.name));
        content:setString(GetUtf8(monster.talk[1]))
        left:setVisible(false);
        right:loadTexture(monster.talk[2]);
        right:setVisible(true);
    else    
        if postFunc then
            postFunc();
        end
    end
end

